<?php
/**
 * Created by PhpStorm
 * @Author: wangwin
 * @Date: 2024/9/5
 * @Time: 15:40
 * @Version: 1.0
 */

namespace App\Service\Gpt;

class ChatServiceFactory
{
    public static function create(string $vendor = 'default', string $apiKey = '7dcae406-5eea-4ab8-b6aa-191d50288c57', string $baseUri = 'https://ark.cn-beijing.volces.com/api/v3/'): ChatService
    {
        return new ChatService($apiKey, $baseUri);
    }
}